from rest_framework import serializers
from teacher_app.models import Teacher

class TeachserSerializer(serializers.ModelSerializer):
    '''教师序列化器'''
    class Meta:
        model = Teacher
        fields = '__all__'